package top.codingfly.model.resp;

import java.util.ArrayList;
import java.util.List;

public class AreaCodeTreeResp {
    public Long id;
    /** 编号 */
    public String code;
    /** 名称 */
    public String name;
    /** 父级编号 */
    public String parentCode;
    /** 层级 */
    public Integer depth;
    /** 排序 */
    public Integer sort;
    public List<AreaCodeTreeResp> children = new ArrayList();
    public AreaCodeTreeResp() { }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public Integer getDepth() {
        return depth;
    }

    public void setDepth(Integer depth) {
        this.depth = depth;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<AreaCodeTreeResp> getChildren() {
        return children;
    }

    public void setChildren(List<AreaCodeTreeResp> children) {
        this.children = children;
    }
}